package com.voicechat.firstmet.bean;

import java.util.List;

/**
 * @ProjectName: FirstMet
 * @Package: com.voicechat.firstmet.bean
 * @ClassName: FristMetBean
 * @Description: 初见数据
 * @Author: ljp
 * @CreateDate: 2018/10/22 15:53
 * @Version: 1.0
 */
public class FristMetBean {

    /**
     * code : 200
     * msg : 成功
     * page : {"pageNo":1,"pageSize":30,"count":2,"list":[{"id":"78db80c9d47d48c9b319fa20aaf422cc","isNewRecord":false,"nickName":"我叫123","gender":1,"birthday":"1995年10月21","height":"80;170","ascription":"杭州","gold":2000,"type":2,"avatarUrl":"123.jpg","voiceInfo":"哈哈哈","vType":"0"},{"id":"c459dc6e8f8747daa3ff69712a69afa6","isNewRecord":false,"nickName":"我叫123","gender":1,"birthday":"1995年10月21","height":"80;170","ascription":"杭州","gold":500,"type":1,"avatarUrl":"123.jpg","voiceInfo":"哈哈哈","vType":"0"}],"maxResults":30,"firstResult":0}
     */

    private int code;
    private String msg;
    private PageBean page;
    private ObjectBean object;//滑动次数

    public ObjectBean getObject() {
        return object;
    }

    /**
     * map : {"longitudeUpper":120802000,"dimensionLower":40802000,"dimension":40002000,"longitude":119802000}
     */

    private MapBean map;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public PageBean getPage() {
        return page;
    }

    public void setPage(PageBean page) {
        this.page = page;
    }

    public MapBean getMap() {
        return map;
    }

    public void setMap(MapBean map) {
        this.map = map;
    }

    public static class PageBean {
        /**
         * pageNo : 1
         * pageSize : 30
         * count : 2
         * list : [{"id":"78db80c9d47d48c9b319fa20aaf422cc","isNewRecord":false,"nickName":"我叫123","gender":1,"birthday":"1995年10月21","height":"80;170","ascription":"杭州","gold":2000,"type":2,"avatarUrl":"123.jpg","voiceInfo":"哈哈哈","vType":"0"},{"id":"c459dc6e8f8747daa3ff69712a69afa6","isNewRecord":false,"nickName":"我叫123","gender":1,"birthday":"1995年10月21","height":"80;170","ascription":"杭州","gold":500,"type":1,"avatarUrl":"123.jpg","voiceInfo":"哈哈哈","vType":"0"}]
         * maxResults : 30
         * firstResult : 0
         */

        private int pageNo;
        private int pageSize;
        private int count;
        private int maxResults;
        private int firstResult;
        private List<ListBean> list;

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public int getMaxResults() {
            return maxResults;
        }

        public void setMaxResults(int maxResults) {
            this.maxResults = maxResults;
        }

        public int getFirstResult() {
            return firstResult;
        }

        public void setFirstResult(int firstResult) {
            this.firstResult = firstResult;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * id : 78db80c9d47d48c9b319fa20aaf422cc
             * isNewRecord : false
             * nickName : 我叫123
             * gender : 1
             * birthday : 1995年10月21
             * height : 80;170
             * ascription : 杭州
             * gold : 2000
             * type : 2
             * avatarUrl : 123.jpg
             * voiceInfo : 哈哈哈
             * vType : 0
             */

            private String userId;
            private boolean isNewRecord;
            private String nickName;//昵称
            private int gender;//性别 1男2女
            private String birthday;//生日
            private String height;
            private String ascription;//区域
            private int gold;
            private int type;//1普通用户  2主播
            private String avatarUrl;//头像地址
            private String voiceInfo;//语音介绍地址
            private String vType;


            public String getUserId() {
                return userId;
            }

            public void setUserId(String userId) {
                this.userId = userId;
            }

            public boolean isIsNewRecord() {
                return isNewRecord;
            }

            public void setIsNewRecord(boolean isNewRecord) {
                this.isNewRecord = isNewRecord;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public int getGender() {
                return gender;
            }

            public void setGender(int gender) {
                this.gender = gender;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public String getHeight() {
                return height;
            }

            public void setHeight(String height) {
                this.height = height;
            }

            public String getAscription() {
                return ascription;
            }

            public void setAscription(String ascription) {
                this.ascription = ascription;
            }

            public int getGold() {
                return gold;
            }

            public void setGold(int gold) {
                this.gold = gold;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getAvatarUrl() {
                return avatarUrl;
            }

            public void setAvatarUrl(String avatarUrl) {
                this.avatarUrl = avatarUrl;
            }

            public String getVoiceInfo() {
                return voiceInfo;
            }

            public void setVoiceInfo(String voiceInfo) {
                this.voiceInfo = voiceInfo;
            }

            public String getVType() {
                return vType;
            }

            public void setVType(String vType) {
                this.vType = vType;
            }
        }
    }

    public static class MapBean {
        /**
         * longitudeUpper : 120802000
         * dimensionLower : 40802000
         * dimension : 40002000
         * longitude : 119802000
         */
        private int longitudeUpper;
        private int dimensionUpper;
        private int dimension;
        private int longitude;

        public int getLongitudeUpper() {
            return longitudeUpper;
        }

        public void setLongitudeUpper(int longitudeUpper) {
            this.longitudeUpper = longitudeUpper;
        }

        public int getDimensionLower() {
            return dimensionUpper;
        }

        public void setDimensionLower(int dimensionUpper) {
            this.dimensionUpper = dimensionUpper;
        }

        public int getDimension() {
            return dimension;
        }

        public void setDimension(int dimension) {
            this.dimension = dimension;
        }

        public int getLongitude() {
            return longitude;
        }

        public void setLongitude(int longitude) {
            this.longitude = longitude;
        }

        @Override
        public String toString() {
            return "MapBean{" +
                    "longitudeUpper=" + longitudeUpper +
                    ", dimensionUpper=" + dimensionUpper +
                    ", dimension=" + dimension +
                    ", longitude=" + longitude +
                    '}';
        }
    }
    public static class ObjectBean {
        private boolean isNewRecord;
        private int count;


        public boolean isNewRecord() {
            return isNewRecord;
        }

        public void setNewRecord(boolean newRecord) {
            isNewRecord = newRecord;
        }

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        @Override
        public String toString() {
            return "ObjectBean{" +
                    "isNewRecord=" + isNewRecord +
                    ", count=" + count +
                    '}';
        }
    }


    @Override
    public String toString() {
        return "FristMetBean{" +
                "code=" + code +
                ", msg='" + msg + '\'' +
                ", page=" + page +
                ", object=" + object +
                ", map=" + map +
                '}';
    }
}
